package com.zsc.wxm.ysh.anjo.service.base.model.member.bo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/9 9:58
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MemberBO implements Serializable {
    private static final long serialVersionUID = -688021764419872605L;

    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("电话号码")
    private String phone;

    @ApiModelProperty("密码")
    @JsonIgnore
    private String password;

    @ApiModelProperty("头像路径")
    private String avatar;

    @ApiModelProperty("用户状态0正常、1停用")
    private Integer state;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty(value = "身份证")
    private String identityId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty("是否为房东")
    private Boolean landlord;

}
